﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MoveArticlePartUC.ascx.cs"
    Inherits="AudioBook.AudioManagement.AudioManage.MoveArticlePartUC" %>
<asp:HiddenField ID="hidKeyWord" runat="server" />
<div class="popup-dialog">
    <div id="toolbar-box">
        <div class="t">
            <div class="t">
                <div class="t">
                </div>
            </div>
        </div>
        <div class="m">
            <div class="toolbar-list" id="toolbar">
                <ul>
                    <li class="button"><a id="btnClose" href="#"><span class="icon-32-cancel"></span>Cancel</a>
                    </li>
                </ul>
                <div class="clr">
                </div>
            </div>
            <div class="pagetitle icon-48-audio">
                <h2>
                    Audio: Move article part</h2>
            </div>
            <div class="clr">
            </div>
        </div>
        <div class="b">
            <div class="b">
                <div class="b">
                </div>
            </div>
        </div>
    </div>
    <div class="clr">
    </div>
    <div id="element-box">
        <div class="t">
            <div class="t">
                <div class="t">
                </div>
            </div>
        </div>
        <div class="m">
            <asp:UpdatePanel runat="server">
                <ContentTemplate>
                    <fieldset id="filter-bar">
                        <div class="filter-search fltlft">
                            <asp:Panel runat="server" DefaultButton="btnSearch">
                                <label class="filter-search-lbl">
                                    Filter:</label>
                                <asp:TextBox ID="txtFilter" runat="server" ToolTip="Search"></asp:TextBox>
                                <asp:Button ID="btnSearch" runat="server" Text="Search" OnClick="btnSearch_Click" />
                            </asp:Panel>
                        </div>
                    </fieldset>
                    <div class="clr">
                    </div>
                    <asp:Panel runat="server" Height="400" ScrollBars="Vertical">
                        <asp:DataGrid ID="grid" runat="server" AllowPaging="true" PageSize="30" AllowCustomPaging="true"
                            BorderWidth="1" Width="100%" CssClass="grid" AutoGenerateColumns="false" OnItemDataBound="grid_ItemDataBound"
                            OnItemCommand="grid_ItemCommand" OnPageIndexChanged="grid_PageIndexChanged">
                            <HeaderStyle CssClass="gridHeader" />
                            <ItemStyle CssClass="gridRow0" />
                            <AlternatingItemStyle CssClass="gridRow1" />
                            <PagerStyle Mode="NumericPages" Position="Bottom" PageButtonCount="10" CssClass="gridPager" />
                            <Columns>
                                <asp:TemplateColumn HeaderText="#" HeaderStyle-Width="12" ItemStyle-HorizontalAlign="Right">
                                    <ItemTemplate>
                                        <asp:Label ID="lblOrder" runat="server"></asp:Label>
                                        <asp:HiddenField ID="hidArticleID" runat="server" />
                                    </ItemTemplate>
                                </asp:TemplateColumn>
                                <asp:TemplateColumn HeaderText="Name">
                                    <ItemTemplate>
                                        <asp:HyperLink ID="hplName" runat="server"></asp:HyperLink>
                                    </ItemTemplate>
                                </asp:TemplateColumn>
                                <asp:TemplateColumn HeaderText="Active" HeaderStyle-Width="60" ItemStyle-HorizontalAlign="Center">
                                    <ItemTemplate>
                                        <asp:ImageButton ID="btnActive" runat="server" BackColor="Transparent" Enabled="false" />
                                    </ItemTemplate>
                                </asp:TemplateColumn>
                                <asp:TemplateColumn HeaderText="Play Counter" HeaderStyle-Width="100" ItemStyle-HorizontalAlign="Right">
                                    <ItemTemplate>
                                        <asp:Label ID="lblPlayCounter" runat="server"></asp:Label>
                                    </ItemTemplate>
                                </asp:TemplateColumn>
                                <asp:TemplateColumn HeaderText="Rate" HeaderStyle-Width="100" ItemStyle-HorizontalAlign="Right">
                                    <ItemTemplate>
                                        <asp:Label ID="lblRate" runat="server"></asp:Label>
                                    </ItemTemplate>
                                </asp:TemplateColumn>
                                <asp:TemplateColumn HeaderText="ID" HeaderStyle-Width="30" ItemStyle-HorizontalAlign="Right">
                                    <ItemTemplate>
                                        <asp:Label ID="lblArticleID" runat="server"></asp:Label>
                                    </ItemTemplate>
                                </asp:TemplateColumn>
                                <asp:TemplateColumn HeaderText="Move" HeaderStyle-Width="30" ItemStyle-HorizontalAlign="Center">
                                    <ItemTemplate>
                                        <asp:ImageButton ID="btnMove" runat="server" ImageUrl="~/images/grid/move.png" BackColor="Transparent"
                                            ToolTip="Move" OnClientClick="return confirm('Are you sure you want to move article part?');" />
                                    </ItemTemplate>
                                </asp:TemplateColumn>
                            </Columns>
                        </asp:DataGrid>
                    </asp:Panel>
                    <div class="clr">
                    </div>
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>
        <div class="b">
            <div class="b">
                <div class="b">
                </div>
            </div>
        </div>
    </div>
</div>
